Skip to content

test(inkless:consolidation): adjust tests to address failures - #728

Open
viktorsomogyi wants to merge 2 commits into
mainfrom
svv/ts-unification-e2e-followup
Open

test(inkless:consolidation): adjust tests to address failures#728
viktorsomogyi wants to merge 2 commits into
mainfrom
svv/ts-unification-e2e-followup

Conversation

@viktorsomogyi

@viktorsomogyi viktorsomogyi commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Consolidation fetch requests segment.bytes minus max.message.bytes so one extra batch still fits the follower segment. Default max.message.bytes is 1048588 (1 MiB plus record overhead), so the old 1 MiB setting left a 1-byte fetch and starved the fetcher.

2 MiB leaves about 1 MiB of fetch budget. segment.ms still rolls on time.

@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-delete-records-e2e branch from 3f7ea8d to 270a1cc Compare August 14, 2026 10:13
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-e2e-followup branch from d2c5d85 to 50eead0 Compare August 14, 2026 12:00
@viktorsomogyi
viktorsomogyi changed the base branch from svv/ts-unification-delete-records-e2e to main August 14, 2026 12:02
@viktorsomogyi
viktorsomogyi marked this pull request as ready for review August 14, 2026 12:02
@viktorsomogyi
viktorsomogyi force-pushed the svv/ts-unification-e2e-followup branch from 50eead0 to 9532a7f Compare August 14, 2026 14:03
jeqo
jeqo previously approved these changes Aug 17, 2026

@jeqo jeqo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a suggestion on leveraging max.message.bytes instead of segment.bytes -- either one should work though.

"remote.storage.enable": "true",
"min.insync.replicas": 2,
"segment.bytes": 1048576,
"segment.bytes": 2097152,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocker: Wonder if we can get the same effect by lowering max.message.bytes instead, so segments keep rolling at the current cadence and the retention/prune paths stay as exercised as before. 512 KiB on a 1 MiB segment leaves a 512 KiB fetch budget (two fetches per segment), which should be plenty for these datasets.

Batching is safe: VerifiableProducer only overrides request.timeout.ms, so batch.size stays at the 16 KiB default -- well inside the headroom.

Suggested change
"segment.bytes": 2097152,
"segment.bytes": 1024 * 1024,
"max.message.bytes": 512 * 1024,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can make this change, almost finished rerunning the tests.

Consolidation fetch requests segment.bytes minus max.message.bytes so
one extra batch still fits the follower segment. Default max.message.bytes
is 1048588 (1 MiB plus record overhead), so the old 1 MiB setting left a
1-byte fetch and starved the fetcher.

2 MiB leaves about 1 MiB of fetch budget. segment.ms still rolls on time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants